package com.ly.user_system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ly.user_system.code.BaseEntity;
import com.ly.user_system.detail.BaseSysRoleDepartmentDetail;
import com.ly.user_system.dto.BaseSysRoleDepartmentDTO;
import io.github.linpeilie.annotations.AutoMapper;
import io.github.linpeilie.annotations.AutoMappers;
import lombok.Data;

@TableName("base_sys_role_department")
@Data
@AutoMappers({
@AutoMapper(target = BaseSysRoleDepartmentDTO.class),
@AutoMapper(target = BaseSysRoleDepartmentDetail.class)
})
public class BaseSysRoleDepartment  extends BaseEntity  {

@TableField("role_id")
private Long roleId;

@TableField("department_id")
private Long departmentId;

}